I would be unsurprised if the cartridge has the same form factor but has internal differences for Switch2-only games. If they want to try to lock Switch2 cartridges down more, there's plenty of ways to do that while maintaining a similar enough form factor for Switch1 compatibility.
NDS and 3DS cartridges had a similar form factor but operated by a completely different protocol. I expect Switch 2 to do something like that, given that piracy-enabling cartridge emulators for the Switch 1 currently exist.