xdg-shell: relax not_constructed checks
Inert popups might have wlr_xdg_surface.role = NONE. Instead, check wlr_surface.role, which should be NULL if an xdg_toplevel or xdg_popup is not yet constructed and should be non-NULL if a popup is inert.
Closes: #3567 (closed)