You need optimism that things can be changed, not optimism that it will all work out in the end someway or another.
That isn't panglossian optimism that things will all work out, anymore than dystopias are a prediction of certain doom. It's a vision of a better world that is, perhaps, possible, and exploration of how such a world might be achieved.