After a nightmare year, Boeing made an unexpected success of the world’s biggest airshow, avoiding a humiliation by arch-rival Airbus