Sen. John Kerry’s confirmation hearing for secretary of state was briefly interrupted by an anti-war demonstrator Thursday, giving the longtime Massachusetts legislator a chance to show off his diplomacy skills in front of the Senate Foreign Relations Committee.