I have resorted to "unticking" wireguard sync in the HA settings to prevent wireguard from starting on the backup firewall and adding another CRON job to run every minute to enable or disable wireguard based on the CARP status https://gist.github.com/taxilian/eecdc1fb17cf70e8080118cf6d8af412