To escape tokens that are Message Format syntax requires the use of single quote wrapping like '{foo}'. This is documented in the ICU Message Format docs.
Therefore for your example it would be:
Cldr.Message.format("'{foo}'", [])
However there is a parser bug which I need to fix since currently that is erroring: