DTU-Net: Learning Topological Similarity for Curvilinear Structure Segmentation