Many-body localization in a quantum simulator with programmable random disorder