I configured Firefox to use my local DoH server instead. That way I don't have to fight against DoH, I get the (few) benefits of ESNI and can still choose what my upstream servers will be. Your solution is also good and it is what we configured at work (through group policies). You or someone else reading may find this[1] and this[2] useful.
I don't know, I'm not the one who reported that issue and I use a local DoH server, that way I make sure that when Firefox uses DoH I still have full control over it.
[1] https://support.mozilla.org/en-US/kb/firefox-dns-over-https
This way I get best of both worlds. Speed with NXDOMAIN and lack of needless CloudFlare DoH requests.
Hope that helps.