Triathlon returns to the Olympics with the men’s, women’s and mixed relay races from July 30 to August 5.