Twitter chief for China quits, hails its performance