Canada has sailed a warship through the sensitive Taiwan Strait, the Canadian government said, three months after a similar operation and amid strained ties between Beijing and Ottawa.