Candidates for state and federal offices in Massachusetts were hoping to move forward with a challenge seeking injunctive relief against the state's election laws, but a state appellate court has affirmed the Superior Court's decision to throw out the claim.