I don't believe that it is natively supported. You need to download Windows Media Encoder then open Foobar, right click on a track, scroll down to convert, click on output format, then click on add new at the bottom.
Hopefully this helps a little though I have never used Foobar to convert to WMA only other formats.