window: handle configure request when maximized/fullscreen

Commit 42b02d9d ("ignore resize increments for maximized/fullscreen")
introduced a regression which prevents window from being resized while
maximized or fullscreen.

Move the check for maximized/fullscreen where the geometry is handled
rather than ignoring the geometry info when maximized/fullscreen so that
a client issuing a "move_resize()" while maximized or fullscreen can get
the requested size when restoring the original window state.

Closes: GNOME/gtk#1044
4 jobs for issue1044 in 23 minutes and 38 seconds (queued for 1 second)
Status Job ID Name Coverage
  Build
passed #368843
fedora-autotools

00:12:25

passed #368844
fedora-meson

00:09:44

manual #368846
win32 allowed to fail manual
msys2-mingw32-autotools
passed #368845
win32
msys2-mingw32-meson

00:23:37