Slowing growth has damped expectations that the Chinese economy will become the world’s largest by the end of the decade.