Friends of an 11-year-old boy who is in intensive care after being struck by a tram have rallied round to support his family.