New Afghan president on first China visit as withdrawal looms