tst_qwindowcapturebackend: Remove Wayland/Android skips in test-function


This entire test is being skipped for Wayland and Android, this logic
is done in initTestCase. QWindowCapture is not supported on these
configs, so no reason to skip them inside individual functions.

As a drive-by, we change some ifdefs out of if-tests.

Pick-to: 6.12
Change-Id: Id48f05b47cec4b13afcdce4ea53d83d3a97c1739
Reviewed-by: Tim Blechmann <tim.blechmann@qt.io>
commita0fa50e499f89d491bcc13a53517c81938bb7b35
parentf3323a31001a776e2cf641f0422698d92cdbfce1
authorNils Petter Skålerud <nils.petter.skalerud@qt.io>
committerNils Petter Skålerud <nils.petter.skalerud@qt.io>
commit timeTue, 29 Sep 2026 11:04:51 +0000