Genetic population structure constrains local adaptation in sticklebacks