England all-rounder Moeen Ali says Azeem Rafiq's actions have made it easier for others to speak out about issues of discrimination and mental health.