autotests: make ktooltipwidgettest more robust
We don't care for focus, so wait for Shown rather than Active
Hopefully will help with the unstable FreeBSD CI