Democrats gained the upper hand on the Wisconsin Supreme Court this month as a liberal justice, Janet Protasiewicz, begins a 10-year term, flipping the balance of that court to a partisan 4-3 advantage in a key battleground state both for the White House and control of the U.S. Senate.