A retired Marine who lost his leg in Afghanistan ran the Boston Marathon carrying the American flag