Search for CP violation in the decay D⁺→π⁻π⁺π⁺