In a series of speeches this week ahead of the competitions, Thomas Bach, the longtime president of the International Olympic Committee, laid out his longstanding vision of sport as a force for good in the world.