American intelligence officials on Wednesday concluded that the North Korean government was centrally involved with the attacks on Sony’s computers. That determination and the cancellation of the film were new twists in a series of developments that has found a major studio fighting for its art, and perhaps life, against forces driven by a foreign government.