Carlos Ghosn’s detention for almost 130 days in a Japanese jail was neither necessary nor reasonable and violated the former Nissan chairman’s human rights, a United Nations panel concluded in a harsh critique of Tokyo prosecutors who led the case against him.