StratMed: Relevance Stratification between Biomedical Entities for Sparsity on Medication Recommendation