President Trump’s public break with the Federalist Society, the sprawling conservative legal organization, created uncertainty over the types of nominations he’d make to the courts in his second term.