Police in Jamaica have arrested a dancehall artist accused of recording and playing a song they say promotes criminal activity.