The jury deliberating actor Danny Masterson’s rape trial said Friday that it is deadlocked, setting the stage for a possible mistrial.