lib.xcsoar_.analysis: add terrain elevation for takeoff/landing detection

Fixes #231