There are many different types of taxes on selling a business. Here’s what you need to know to maximize your after-tax return.