The IOC faces a challenge to strike a balance between embracing activism in sports and preventing the games from turning into a stage for political demonstrations.