A court in the United Kingdom has heard disturbing testimony in the trial of a teacher accused of child sexual abuse and the murder of his adopted son, including claims that he previously admitted to “harmful thoughts” about the baby, raising serious questions about missed safeguarding warnings.