“The Phantom of the Opera,” the longest-running Broadway musical, gives its final performance this Sunday, And its creator is asking fans to think fondly of the show with the release of a new song.