window-actor/wayland: Sync geometry only when window is mapped
In some cases the window is not mapped when the geometry changes. Without the mapped window the surfaces are not mapped either and don't have a sensible allocation.
This patch makes sure we abort syncing the geometry if the window is not mapped and also make sure we sync geometry when the actor eventually does get mapped.