I would be delighted to see something like "wallet open for staking only" function in the next version.
First, unlock it if it's encrypted, then:
Settings > Options > Enable both "Minimize to tray instead of the taskbar" and "Minimize on close".
Then just minimize it and it will be staking in the background.