First search for exotic Z boson decays into photons and neutral pions in hadron collisions