Charlie Baker’s resume includes stints as former CEO of Harvard Pilgrim Health Care and state secretary of finance and administration. But visiting the Vineyard this weekend, the Republican candidate for governor told the Gazette he learned important political lessons as a selectman in Swampscott.