gdk/win32: Window repaint optimizations

Paint immediately when WM_PAINT is received so the window manager can sync the
repaints properly. Partially based on prior work from !3331.
7 jobs for win32-nolayered in 27 minutes and 30 seconds (queued for 5 seconds)
latest