Compass, a SoftBank-backed company that’s among the largest real estate brokerages in the U.S., has selected underwriters for a potential initial public offering, according to a person with knowledge of the matter.