testwheel.py: Adapt to the new examples wheel


The examples directory should now be back and be automatically
detected. Still the PYSIDE_DESIGNER_PLUGINS variable needs to be set.
Move it to a helper function.

Pick-to: master
Change-Id: Ibe525d1b62b689f254488df891ed5b149a182fec
Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
commitb167839d8390bbabf548d25357552dde836ccfdf
parentce196e5663b541be9e19e6a6e99b6a7e5f654699
authorFriedemann Kleint <Friedemann.Kleint@qt.io>
committerFriedemann Kleint <Friedemann.Kleint@qt.io>
commit timeTue, 21 Nov 2023 18:48:14 +0100