wireshark: disable gtk+ frontend unless with-x is passed

Fixes #20528.