Optimism is one of Ethereum's most popular layer-two scaling solutions. Here's a closer look at how it works.