Canadian dollar hits two-week high as investor optimism about trade talks lifts stocks