China student dies after allegedly being beaten by teacher