The state of Victoria had been a leftist stronghold for decades. Voters’ distrust in major parties, fueled by cost-of-living pressures, delivered a tectonic shift.