Text this: Dynamic hidden states underlying working-memory-guided behavior