There is no good way of uninstalling modules for a unity version, the easiest solution would be do remove and reinstall that unity version.
You can manually remove the folders in:
\Hub\Editor[VERSION]\Editor\Data\PlaybackEngines
But that does not remove unity intern reverences so you are not able to reinstall these modules afterwards and you would need to reinstall the unity version again. So safest and best way would be to completely delete and reinstall that unity version