A federal judge blocked the Trump administration’s efforts to require proof of citizenship for voting.