Fix Shadow initialization in WaylandWindow
With the recent Qt changes, the wl_surface is persistent, it's not destroyed when the window is hidden. That also means that when a new window is created, it can already have a shadow associated with it so handle that case.