Would an effective mitigation be to drop inbound DNS queries that match those special characters using DPI?
The correct mitigation is turning on DNSSEC. This sort of attack, known since 1993, is why DNSSEC was created.
dnsmasq cannot do this and just forwards UDP to UDP and TCP to TCP. (and doesn't know DoT or DoH)
DoH (and DoT, DNS over TLS) doesn't have this problem, as the whole thing is secured. (Well, this concrete problem might actually be prevented just by using plain old DNS over TCP, but I am not sure about that.)