Split swap-chain logic from `RHI::RenderContext` classes to the `RHI::SwapChain` classes and incapsulate them in the render context.