RIO DE JANEIRO — Brazil’s highest court on Wednesday allowed a new round of appeals in a trial over a vast vote-buying scheme, a decision that may allow senior political figures in the ruling Workers Party to maneuver out of hard jail time for their actions in what may be Brazil’s biggest corruption scandal.