How to hide light shape source through transparent window in Cycles?
One possible way is to use the Light Path node.

This hides transmission light - when light goes through glass
But keeps light dispersion - when light is scattered inside glass/waterdrops/steam

Example using a glass pane, Suzanne and a mesh light.
Note the light dispersion on the glass pane