Tariq Mahmood Malik had social media accounts with inappropriate content seen by elementary age students