present/wnmd: Allow flipping if the window pixmap matches the toplevel's

Instead of testing window->redirectDraw.

With Xwayland, the toplevel window is always redirected, so this would
unnecessarily preclude flipping there in some cases, e.g. with wlroots
based Wayland compositors or with fullscreen X11 windows in weston.

Fixes issue #631.
(Cherry picked from commit a093a885)
3 jobs for server-1.20-branch in 2 minutes and 37 seconds
Status Job ID Name Coverage
  Docker Image
passed #133851
debian-testing

00:00:15

 
  Build And Test
passed #133852
autotools-build-and-test

00:02:22

passed #133853
meson-build-and-test

00:01:07