Obama attacks 'right-wing' media for concerns over critical race theory