Thermal impacts on the properties of nuclear matter and young neutron star