Americans’ attitudes toward the economy improved slightly this month as gas prices declined, but their outlook is still mostly negative by historical standards.