A new exhibit at the South Street Seaport Museum depicts ‘migrants and millionaires aboard the great liners’ at the turn of the century