L–S theory for the propagation of the photo-thermal waves in a semiconducting nonlocal elastic medium