States can’t demand proof of citizenship from people registering to vote in federal elections unless they get federal or court approval to do so, the Supreme Court ruled Monday in a decision complicating efforts in Arizona and other states to bar voting by people who are in the country illegally.