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.
in nomine patri, et fili, et spiritus sancti.
Meh nom eh noh...doot dooooo do do do.