Karoline Leavitt kept the press chasing controversy while Trump’s government moved elsewhere. Her exit reveals how well it worked.