Pete Hegseth has warned Europe is facing "an invasion of dangerous ideologies" arriving by sea, as he linked immigration to the legacy of the D-Day landings in Normandy.