Lufthansa launches probe after plane that was to carry German president almost crashed