Disentangling QCD and New Physics in $D^+\to\pi^+\ell^+\ell^-$