Based on your explanation, if the participation was voluntary and after the 'school activity' was
concluded...plus the assumption that each student could use his own expression of faith (e.g. kneel on a prayer rug while facing east)...then I'd be inclined to side with the coach.