x11: Read window position relative to root window rather than parent
This fixes monitor enter and leave events on X11, and probably other things, when using server-side decorations.
Without this patch, window coordinates are take relative to the top left corner of the decoration window and so never change.