Britain is preparing to retire its last operational Westland Lynx helicopters, ending a 40-year career with the Army Air Corps and Royal Navy.