A Kasowitz Benson Torres partner who advocated against President Donald Trump's impeachment has joined the White House as a senior adviser to the president, court records show.