core/renderloop: fix subsurfaces vrr scheduling
We have to take the shortest frame time estimation from all (sub)surfaces to not miss any frame from subsurface.
Also take subsurfaces into account in "RenderLoop::scheduleRepaint()".
Fixes VRR stuttering in QMPlay2 video player.
(cherry picked from commit aef3af5f)