US War Secretary Pete Hegseth has imposed new restrictions on military cooperation with Canada, according to US media.