A US envoy is heading to Kabul after six days of talks in Qatar aimed at ending the Afghan conflict.