John Hamilton, chief engineer for Boeing Commercial Airplanes, has announced his retirement a year after being asked by the company to stay on to lead the 737 MAX recovery effort.