The GLP-1 story shows how patents can reward discovery and push rivals to develop better drugs.