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 way that you wander is the way that you choose. The day that you tarry is the day that you lose.
Sunshine or thunder, a man will always wonder where the fair wind blows.