Probably not directly helpful, but Nix packages for Chromium and Electron apps are set up so that you can switch to native Wayland mode globally by setting an environment variable, NIXOS_OZONE_WL=1
I don’t know of any global setting that isn’t distro-specific.
There was a post earlier today complaining about questions that aren’t open-ended, and therefore don’t adhere to the community rules. So here we are with a question with many possible answers (which makes it properly open-ended).