profile.d: Check whether Qt has Wayland backend available before attempting to use it

This fixes Qt apps when `qtwayland5` package is not installed by letting them use X11 instead.
3 jobs for qt-check in 6 minutes and 3 seconds (queued for 32 minutes)
latest