A French biotechnology company said that its cancer vaccine was effective in decreasing the risk of death for people with some lung cancers by 41%.