Washington’s idea appears to be aimed at attracting investment from allies to strengthen the U.S. shipbuilding industry and start closing the gap with Beijing.