Democratic chairwoman offers optimism for her party’s prospects