Replace empty window rect checks by a new X11DRV_is_window_rect_mapped function so that we can reuse that support for off-screen windows.