vulkan/wsi: return VK_SUBOPTIMAL_KHR for sw/x11 on window resize
the other codepaths all end up checking geometry in one way or another in order to validate the extents, so add a check here to do the same
fixes #6893 (closed)
includes !17590 (merged) due to conflicts