Vsync via the Windows compositor when appropriate.
Created by: TerminalJack
Some users are reporting bad jitter when running in windowed mode on the Windows OS. This change will cause the OS's compositor to be used for vsync when it is appropriate. This is a strategy that is used by other projects such as Chromium and glfw.
fixes #19783 (closed) fixes #27211 (closed)
Bugsquad edit: Superseded by #33414.