China’s week-long holiday has exacerbated congestion at two of the country’s busiest ports — Shanghai and Ningbo — where hundreds of cargo ships are waiting to berth.