Contextual Dynamic Pricing with Strategic Buyers