wayland: Fix minor style issue
wayland: Don't assert fail when dealing with popup windows
window: Fix some minor constant type issues
stack: Rewrite to not be based on X11 xtransient_for properties

This fixes some stacking issues with Wayland windows.
window: Kill off a now-unnecessary state variable