vulkan/wsi/x11: report swapchain status in QueuePresent with threads

In commit 6f880f12 we started going through the X11 events before
doing a present operation to ensure we notify the application about
potential surface resizes.

We only applied the change for the non threaded path instead of both.

This change fixes deals with the threaded path by introducing a new
status queue that forwards status updates from the swapchain thread to
the application thread so that we don't mess about with the X11
connection from different threads.

v2: Rebase
    Correct commit message (Jason/Lionel)

Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Fixes: 6f880f12 ("vulkan/wsi: update swapchain status on vkQueuePresent")
13 jobs for !1457 with review/vulkan-x11-thread-access-fix in 12 minutes and 52 seconds (queued for 2 seconds)
latest detached
Status Name Job ID Coverage
  Containers Build
passed debian #453493

00:00:27

 
  Build+Test
passed meson-arm64 #453502

00:02:46

passed meson-armhf #453501

00:02:54

passed meson-clang #453495

00:12:24

passed meson-clover #453499

00:10:18

passed meson-i386 #453503

00:02:13

passed meson-main #453498

00:05:39

passed meson-swr-glvnd #453494

00:06:03

passed meson-vulkan #453500

00:02:54

passed scons-llvm #453505

00:08:17

passed scons-nollvm #453504

00:07:41

passed scons-swr #453496

00:11:03

passed scons-win64 #453497

00:08:30