First visit to Beijing by a Canadian PM in almost a decade follows deep chill in relations between the two nations