Democrats could be poised for a national victory — just as the aging leadership faces a generational revolt