[FEATURE][API] categorized render: support disabling rendering of some categories

Funded-By: norBIT
fixup 4867b7fa
[processing] fixed #10792
Use index to render legend symbol items
categorized renderer: show category by default (followup 4867b7fa)
[composer] Initial framework for data defined properties in compositions and composer items. Funded by Canton of Neuchâtel, Switzerland