The deal follows a monthslong sales process by Femsa, formally known as Fomento Economico Mexicano S.A.B., whose brands include Dos Equis and Tecate.