From legal battles to gerrymandered boundaries, structural changes to US voting rules could decide the next Congress.