China says Taliban leader was in Beijing to discuss Afghan peace process