It would have to be small enough mesh not to allow for the brush bristles to fall through.
OR,
Mount hardware cloth (perhaps to the rim of a large mouth jar) with big enough mesh that the brush part and metal shaft would easily fit through, and wrap a rubber band around the metal shaft, and high enough so it would suspend just the bristles in the water.
Lots of ways to attack the problem ...