Constraints on Gamma-Ray and Neutrino Emission from NGC 1068 with the MAGIC Telescopes