magento 2 disable custom cron job from module
You should check the status of the module in your cron observer file. If it is disabled status, then simply skip the cron process.
I dont think there is a way to disable a cron through the XML configuration.