The resilience that defined Chinese markets during unprecedented global volatility surprised almost everyone this quarter.