The city’s governor had resisted the IOC’s decision to switch the marathons and race walks to the milder northern city of Sapporo.