The container ship that smashed into the Francis Scott Key Bridge in Baltimore sent a “mayday” warning that it had lost power before the disaster, officials said Tuesday.