Young people are flocking to public policy classes at a time when polarization and gridlock can paralyze legislative action.