Reorientation of planets with lithospheres: The effect of elastic energy