A 12-year-old boy has had emergency brain surgery after an older student held him in a chokehold while on a bus.