kopper: if swapchain updating fails, generate an xerror
generally any errors triggered here should be caught and handled by (vulkan) wsi, but nvidia's wsi is abnormally permissive and doesn't kill processes even when they no longer have a window
to solve this, generate a BadWindow error that will definitely take down any wsi, no matter how "robust" it might think it is