Microenvironment drives cell state, plasticity, and drug response in pancreatic cancer