Mechanical properties of thermoelectric lanthanum telluride from quantum mechanics