Nine years after its founding, real estate brokerage Compass went public on Thursday, minting a huge windfall for the company’s investors and employees.