The metaplectic Casselman-Shalika formula