A judge’s ruling that Donald Trump committed fraud for years as he built his real-estate empire tarnishes the former president’s image as a real estate titan turned political powerhouse, and could strip him of his authority to make major decisions about the future of his marquee businesses.