Make the generated “which” method publicly accessible.

Since the "which" method is currently private, there is no easy way for the consumer of a capnp package to know the type of a value that is encoded in a union. Making the "which" method public is an easy way to accomplish this.