At Carnegie Hall, a program of Stravinsky, Weill and freely improvised Gershwin highlighted a dialogue between jazz and classical music.