Text this: Bound-state solutions and thermal properties of the modified Tietz–Hua potential