[types] Fix type hints
[types] Fix type hints

- fix type hints for CategorizedPageGenerator and SubCategoriesPageGenerator
- update documentation

Change-Id: I01954ca52593d27ccf560e6bc83cca2d03316bfe

wikimedia/pywikibot-core,wikimedia/pywikibot-core