Molecular spectroscopy constrains the size of the electron’s electric dipole moment