A theoretical analysis of the effect of uniaxial elastic strain on the critical temperature of cuprate superconductors