there's 3 ways to remove wax from carpets.
melting and blotting like boufa said, freezing and chipping (using cans of freeze mist), and chemical stain removers.
use the freezing first, to remove larger chunks. then try melting/blotting to get up as much as possible. finally, get a petrochemical based aerosol mist stain remover. they usually spray on wet and dry into a powder. it hopefully will pull out any remaining color, if not dissolve the remaining wax.
The past is gone it's all been said.
So here's to what the future brings,
I know tomorrow you'll find better things