A speechwriter for presidential candidate Eugene McCarthy, he also adapted his novel for the Jack Nicholson-directed ‘Drive, He Said.’