David B. Mixner, a political strategist who played prominent roles in the anti-Vietnam War movement and in the arduous fight for gay rights, and whose decades-long influence with Bill Clinton spanned both eras, died on Monday at his home in Midtown Manhattan. He was 77.