When GUI starts with the `-min` option, the `Minimize to tray instead ofPR description:
> When GUI starts with the `-min` option, the `Minimize to tray instead of
> the taskbar` option works as expected now.
Backport of Core [[https://github.com/bitcoin/bitcoin/pull/14517 | PR14517]]