Next week the justices will consider whether to resolve a long-simmering dispute about the power of state legislatures in federal elections.