Since you're changing all of the underlying hardware that the guest has, Microsoft is going to force you to reactive.
You could look at setting up a licensing server to manage these systems and then feed them that information so they can validate and then license.
This isn't an issue presented by XCP-ng (or literally any other hypervisor), its a Microsoft restriction to ensure you aren't stealing their software.