QWindowCapture, WGC: Don't capture cursor during integration tests
When running integration tests for capturing window, it can be
problematic if the cursor is being captured. The qwindowcapturebackend
test has some mechanism to disable the cursor altogether, but it's not
bulletproof when running locally.
We already have private APIs that let us ignore the cursor during
capture. This patch makes us use it for the Windows WGC backend. This
helps running the tests locally.
Pick-to: 6.12
Change-Id: I463b608fc6eed6d660d50fe86bd9d9d699ec66d7
Reviewed-by: Tim Blechmann <tim.blechmann@qt.io>