Vertex paint's filter operators were not properly going through the SculptSession API. Undo didn't work; sometimes the operators would do nothing or produce corrupted colors. The `transform_active_color` helper function now handles all of this. It ensures a valid SculptSession exists and executes an undo push. Reviewed By: Hans Goudey Pull Request: https://projects.blender.org/blender/blender/pulls/106136