Wave-mean Flow Interactions in the Atmospheric Circulation of Tidally Locked Planets