Joint Learning and Control in Stochastic Queueing Networks with Unknown Utilities