testsuite: add hide-titlebar-when-maximized test for GtkWindow

This commit adds a test that checks whether or not
hide-titlebar-when-maximized can be set before the window is
realized.

https://bugzilla.gnome.org/show_bug.cgi?id=740287