Returns the declared domain (universe of valid values) attached to a filter, or `NULL` when no domain is set. This is a thin accessor over the `domain` property, intended for downstream consumers (e.g. GUIs) that render filter inputs from the domain without reaching into S7 internals.
