Calhoun will leave at the end of 2024. His announced departure comes after production problems at Boeing.