Ms. Hicks, who had been considering a departure for several months, did not indicate what her next job would be, but she said that she plans to leave the White House in the coming weeks.