China wins major Afghan contract