The treaty could exempt poor countries from some kinds of patents, such as patents on life-saving medicines.