The outgoing Canadian leader has maintained strong support for Ukraine since Russia's 2022 invasion, but the relationship his successor will have with the country remains to be seen.