Gov. Charlie Baker signed into law a bill that will allow Massachusetts restaurants to sell sealed containers of mixed drinks with their takeout and delivery food orders.