Wait for two frames before picking custom geometry in tests
The mesh and BVH for custom geometry are built on the render thread, and
the single frameSwapped() these tests waited for can belong to a frame
that was already in flight, so the pick could run before the mesh
existed. test_sphere_geometry() passed on its own but failed about half
the time when another test ran before it.
test_picking_QTBUG_111997() now reaches its last case instead of timing
out on the first, but that case still fails on macOS arm, so the test
stays blacklisted.
Pick-to: 6.12
Change-Id: Ifa91cae0ebeb028d2f7f22d6918b22c05f924f3d
Reviewed-by: Christian Strømme <christian.stromme@qt.io>