What you need to do is to use the preferences API in Wireshark. The QUIC dissector isn't using the regular preferences API; see, for example, proto_register_smtp() in epan/dissectors/packet-smtp.c, and the calls to prefs_register_protocol() and prefs_register_bool_preference() in that routine.