When it comes to choosing an exit, some closely held technology companies are betting they can get richer valuations from a public listing than from being acquired. Here's why.