In a public Discourse instance, how do I make it impossible to list all users

Depends on what you mean exactly by “exposing” users. Any user that posts in the public category will be public, and then it depends on what percentage of your users will interact in that specific category.