Katy Perry’s “Dark Horse” featuring Juicy J is the closest the pop machine will ever come to making a trap song.