Haley to leave post of US ambassador to the UN at the end of the year, denies 2020 presidential ambitions.