The freshman congresswoman paired hopeful appeals with sharp criticism of President Trump and a push for civic engagement.