China’s president was filmed rebuking his Canadian counterpart over alleged leaks of their meeting.