refactor: Application: Use Gtk for detecting session end
Gtk also uses DBus to detect the session end, there is no need for us to implement this functionality via the logind dbus interface.
Further this will be also working on Windows as soon as Gtk implements it
Fixes #12568 (closed), #9774 (closed)