China official urges education to stem terrorism