How seamlessly does the Magic Trackpad 2 pair with a Mac when plugged in?
You can consider use the Magic Trackpad 2 in wired mode. Do not pair it with your MacBook over Bluetooth.

You can switch the USB hub between MacBooks and the trackpad would get connected instantly in wired mode over USB.