Andy Ruiz Jr. ruined Anthony Joshua’s perfect record as a pro, but the Briton became mentally stronger for the experience.