Mahindra Racing returned to winning form in Monaco as Nyck de Vries delivered the team’s first Formula E victory since 2021.