The chief executive of Northvolt stepped down on Friday, shortly after the Swedish battery maker filed for Chapter 11 bankruptcy protection in the U.S.