Discovery of two magnetic massive stars in the Orion Nebula Cluster: a clue to the origin of neutron star magnetic fields?