Chandra COSMOS Legacy Survey: Clustering dependence of Type 2 active galactic nuclei on host galaxy properties