The John Lewis Voting Rights Advancement Act, legislation that would strengthen the federal government’s role in overseeing election law changes that could disenfranchise minority groups, passed the House on Tuesday — a victory for Democrats who believe it is a necessary response to the erosion of election protections by the Supreme Court in recent years.