For several cities, Amazon’s HQ2 rejection was a kick in the butt to do better