With Republicans controlling Congress, the Supreme Court could emerge as a strong potential check on President-elect Donald Trump’s boundary-testing agenda.