Internal noise promotes heterogeneous synaptic dynamics important for working memory in recurrent neural networks