James Murdoch is giving up leadership of News Corp.’s scandal-plagued U.K. newspaper publishing business.