gnome: add option to restore window in hidden state

--restore-last-window-state, -r
If the primary instance of the client is launched with this option
it will check whether or not the main window was hidden when the
client was last quit and restore the same state.

This patch also adds the "window-state-hidden" GSetting to keep
track of this window state"

Issue: #78993
Change-Id: If87776003652535aa6860f0065f07bfb8cd5b673
4 files changed