This reverts commit e5546bc0.
We do not use Qt Wayland module directly, but rather expect the used Qt platform plugin to be wayland. Since platform plugins are determined and loaded at run-time, having this check here is meaningless.
Request review @robUx4.