Revert "Remove vsync detection and configurability"
This reverts commit b3a19f9e5b779bb42276a2210813e6b4dd322c8c.
See: https://mail.kde.org/pipermail/kwin/2020-January/002999.html