The politics of high healthcare costs is again roiling this year’s governor’s race after an appeals panel on Thursday rejected the Patrick administration’s cap on premium increases sought by Harvard Pilgrim Health Care for some of its customers. The issue poses a blend of political risks and opportunities for the two leading candidates at this point, Democratic Governor Deval Patrick and Republican challenger Charles D. Baker, the former chief executive of Harvard Pilgrim.