Alignment of lower-limb prostheses