State-Inference-Based Prompting for Natural Language Trading with Game NPCs