wayland inputmethods: If maximized, also restore to the available area
The stored geometry is irrelevant in the window is maximized. This is especially relevant if we:
- open a virtual keyboard
- rotate the display (then it looks ok as it was already addressed)
- then remove the keyboard.
At that point we want to reset to the available area rather than the previous.