Wisconsin Supreme Court says swing state’s embattled elections chief can remain in post