CaTGrasp: Learning Category-Level Task-Relevant Grasping in Clutter from Simulation