Hampden County District Attorney Anthony Gulluni, a Democrat, has endorsed Republican Gov. Charlie Baker’s gubernatorial campaign.