testsmshelper: Use QTEST_GUILESS_MAIN
The test still works fine with it, allowing it to run without a display server.