NB I have not used LibreWolf, I don't think there are any site specific toggles in about:config. This probably doesn't help but some Android Webviews do allow this.
You probably considered this already but as a workaround could you use one browser when you need WebGL and another when you do not.