Qubes supports VM suspension so if you wanted to you could easily create a simple shell script to suspend and resume upon the Windows VM window becoming minimized and reopened. You could use `xprop -spy <window_id>` to check the window status without polling and `qvm-pause`/`qvm-unpause` to suspend/resume the VM.