Ncuti Gatwa, a star of the Netflix series “Sex Education,” will be the 14th actor and the first Black man to play the title role in “Doctor Who,” the long-running British science fiction franchise about a time-traveling adventurer, the BBC announced on Sunday.