President Trump selected Judge Brett M. Kavanaugh to fill Justice Anthony M. Kennedy’s seat on the Supreme Court. He has a conservative record, elite credentials and deep ties among Republican legal groups.