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.
A true lover of nature does not despair now that his mistress has turned a colder cheek.