The Duke of Sussex and other public figures lost a High Court case against the publisher of the Daily Mail and Mail on Sunday.