Accept close event of main window if Kleo is run with elevated permissions
We want to quit Kleopatra if it's run with elevated permissions when the
user closes the main window (as last window).
(cherry picked from commit bff1b01a2e4519179308810b6a33193d86b78839)
- GnuPG-bug-id: T7050