Chinese police have detained a retired teacher on subversion charges after she decried the state of many schools buildings that toppled.