NAIROBI, Kenya—A Kenyan court ruled Thursday that the government must not close the world’s largest refugee camp and send more than 200,000 people back to war-torn...