Add wl_display_dispatch_queue_timeout for dispatching with a timeout
Current Vulkan WSI FIFO present mode blocks indefinitely on frame callbacks and we want to have a 1hz fallback for cases where the callbacks are not coming or coming too slow. The two ways to dispatch wayland events is to either get the underlying fd and implement an event loop for it and wl_display_dispatch_queue
which blocks indefinitely. This adds a new function which is the same as wl_display_dispatch_queue
but takes a timeout argument.