The court heard oral arguments Wednesday in a case that will test whether a decades-old state law that allows voters to petition for the arrest of people they suspect of violating election rules is constitutional.