Michigan State earns wire-to-wire win over Maryland