After the collapse of Chancellor Olaf Scholz’s governing coalition, the balloting will be held on Feb. 23, about seven months before it had been scheduled.