xwayland/present: Destroy sync_callback in xwl_present_cleanup

xwl_present_cleanup frees the struct xwl_present_window memory,
so if there's a pending callback, we have to destroy it to prevent
use-after-free in xwl_present_sync_callback.

Should fix issue #645.

Reviewed-by: Olivier Fourdan <ofourdan@redhat.com>
3 jobs for master in 9 minutes and 52 seconds (queued for 1 second)
Status Job ID Name Coverage
  Docker Image
passed #169453
debian-testing

00:00:35

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

00:09:17

passed #169455
meson-build-and-test

00:01:50