Student hospitalized after collapsing in gym class