Matt Ridley’s new book, “The Rational Optimist: How Prosperity Evolves,” notices that, yes, things are getting better. And they will continue to do so as long as humans innovate.