The MUSE Ultra Deep Field (MUDF). V. Characterizing the Mass–Metallicity Relation for Low-mass Galaxies at z ∼ 1–2 | Synapse