Search for CP violation in the phase space of D0 → π+π−π+π− decays