California voters facing long waits for election results just got a boost from a federal appeals court ruling that could reshape how ballots are handled nationwide.