No idea what a "FPV quad controlled via ELRS" is, but I'd use rfkill for turning off WiFi (and/or Bluetooth if that's needed):
Do this in two steps:
Step 1: get rf device list:
$ sudo rfkill
ID TYPE DEVICE SOFT HARD
0 bluetooth hci0 unblocked unblocked
1 wlan phy0 unblocked unblocked
Step 2: kill the desired device (wlan on your case):
$ sudo rfkill block 1
where '1' is the ID value from Step 1
Rebooting will clear the rfkill block, but if (for example) you've got a serial hookup to your Zero 2W you can remove the block as follows:
$ sudo rfkill unblock 1
Also if you want to schedule a block or an unblock, you can add a line to your root crontab to do that; e.g. schedule an unblock each hour:
0 * * * * /usr/sbin/rfkill unblock 1