WASHINGTON — State and national voting-rights advocates are waging the most consequential political struggle over access to the ballot since the civil rights era, a fight increasingly focused on a far-reaching federal overhaul of election rules in a last-ditch bid to offset a wave of voting restrictions sweeping Republican-controlled state legislatures.