The chief executive of The Boston Beer Company, Dave Burwick, will retire next month after five years leading the company.