Thermal transport through a one-dimensional quantum spin-1/2 chain heterostructure: The role of three-site spin interaction