I'm not sure Raphael has this. I'd be tempted to update to Snap.svg a more modern sister version of Raphael, which has
http://snapsvg.io/docs/#Snap.path.isPointInside there's a lot of backwards compatibility, and it supports svg properly with groups etc.
If you still are stuck, there's some algorithms out there for point in poly checking.