Stateful Posted Pricing with Vanishing Regret via Dynamic Deterministic Markov Decision Processes