It depends on the wifi card attached on Jetson TX2. If the wifi card support Wifi6, of course it should be able to connect to Wifi6 router.
But the wifi embedded in TX2 now as default only support 2.4G/5G. So TX2 don’t support Wifi6 router as default.
You can tried to find a Wif6 card which can also work on Jetson TX2.