Text this: Recurrent neural networks with transient trajectory explain working memory encoding mechanisms