The selection of Kay Coles James suggested that Heritage was trying to regroup after struggling to find footing in President Trump’s Washington.