A 14-year-old boy who had a heart attack saved by quick-thinking friends who remembered a CPR lesson from school