Fix crash when using VR without any HMD connected
With OpenVR, ParaView would simply crash due to accessing a nullptr.
With OpenXR, ParaView would enter a looping state where nothing happens until quitting VR.
Proper initialization of the render window is now checked to fix these issues.
Needs vtk/vtk!9176 (merged).
Closes #19688 (closed).
Edited by Tiffany Chhim