Maryland’s highest court has denied a petition to block Annapolis from mailing ballots to registered voters in its upcoming elections.