You’re looking for this setting: Show subcategory list instead of topic list when entering a category.
Strangely, as far as I can tell, this controls both the display of subcategories in the hamburger menu, and whether they appear in the topic list - they can’t be controlled independently.