Text this: Analysis of Horizontal Dynamic Response of a Single Pile in Layered Foundations Based on the Timoshenko–Pasternak Model