You should be able to disable the Firefox default-on DoH across your network by returning NXDOMAIN for use-application-dns.net [1]
I don't know how to configure pi-hole, but at the dnsmasq level you can do that with this directive:
address=/use-application-dns.net/
[1] https://support.mozilla.org/en-US/kb/configuring-networks-di...