German prosecutors are looking at whether former Volkswagen chief executive Martin Winterkorn was too slow to tell investors about the potential cost of the diesel-emissions scandal, adding to the legal woes weighing on Europe’s largest carmaker.