Inferring the genetic responses to acute drought stress across an ecological gradient