Mine were doing this when the bonnet catch was playing up.
The car thinks the bonnet is open and so doesn't let the wiper work when stationary, regardless of position of the stalk.
Although if this is the case, you should have a bonnet open warning on dash?
Jas