A 14-year-old student at a California high school shot and wounded a fellow student on Friday morning before being detained by police, the Los Angeles County Sheriff's Department said.