NEW YORK — Mexico’s decision to cancel a Chinese-led bid to build a high-speed rail system has triggered reactions ranging from surprise to scorn in China, which has prided itself on the rapid expansion of its own rail network and on bringing that technology to other countries.