vulkan/wsi: Fix stack-use-after-scope in x11_surface_create_swapchain
What does this MR do and why?
vulkan/wsi: Fix stack-use-after-scope in x11_surface_create_swapchain
drm_image_params and num_modifiers are used outside the if-scope as
wsi_swapchain_init argument.
Fixes: 8f6fca89aa1 ("meson: delete dri3 build option")