xwayland: add support for presentation-time

This change just replaces wl_surface.frame with presentation-time
when available. This allows the X11 PresentCompleteNotify events to
be sent right after vblank like X11 clients expect, even if the
compositor sends delayed wl_surface.frame events (e.g. Sway can be
configured to do so).

This is groundwork for taking advantage of more presentation-time
features, like accurate timing information and multiple frames in
flight at the same time.

Signed-off-by: Simon Ser <contact@emersion.fr>
4 jobs for presentation-time in 6 minutes and 43 seconds (queued for 3 seconds)
latest
Status Job ID Name Coverage
  Docker Image
passed #8113441
debian-buster

00:00:17

 
  Build And Test
passed #8113442
autotools

00:06:26

passed #8113443
meson

00:03:15

passed #8113444
meson-noglamor

00:02:04