Second sound thermoelastic stability of a string/beam structure