Craft brewing, artisanal baking and innovative mills and malthouses are reviving Maine’s economic might.