Add helpers to get a surface position relative to its root
We already have wlr_xdg_popup_get_position
, but it gives the position relative to the parent, not the root xdg-surface. We could add helpers for subsurfaces and popups in other shells. This will help to improve damage tracking (e.g. see #616 (closed)).
All of these will take shell-specific structures.