window-actor: Rework initial sync logic
Initiall maximized xdg-shell clients do their initial placement before their size is determined. Update the initial sync logic for this case.
To not hit this unintentionally, make sure the initial sync is only ever run once for every window actor.
Fixes gnome-shell#1811 (closed) and fixes #426 (closed)