One of the world's largest drug makers has entered a definitive agreement to purchase a Copenhagen-based consumer healthcare business.