US President Donald Trump announced the resumption of peace talks with the Taliban after making a surprise trip to Afghanistan to celebrate Thanksgiving with US troops.