Proximity effect in a two-dimensional electron gas probed with a lateral quantum dot