A chilling account of how easy it was to roll back protections secured under the Voting Rights Act of 1965 inspired the president to weigh in.