Magnetic fields, winds and X-rays of the massive stars in the Orion Nebula Cluster