The sale comes nearly two years after the parent company of Guinness pulled the bulk of its production out of Maryland.