Text this: Simultaneous discovery of quantum error correction codes and encoders with a noise-aware reinforcement learning agent