applets/systemtray: add workaround for QTBUG-59044
This avoids the same SNI menu being opened again after user long presses to open a SNI menu.
Test:
- long press an SNI icon to open its menu
- Click anywhere outside of the panel
- Right click the same panel