The cruise line, which normally doesn’t visit San Diego, will become a key sponsor of the annual July 4 event.