Schools and flights were canceled in the Chinese territories of Hong Kong and Macau, and many businesses were closed ahead of the storm, one of the world’s strongest this year.