[Lock Screen] Show Previous/Next buttons only if supported
If the user can neither go back nor forward, hide those controls for a cleaner look.
Differential Revision: https://phabricator.kde.org/D5583