Host-associated niche metabolism controls enteric infection through fine-tuning the regulation of type 3 secretion