Raisi has faulted Iran’s economic performance under Rouhani and his pursuit of detente that in 2015 yielded a landmark deal with world powers under which Tehran curbed its disputed nuclear program in exchange for the lifting of sanctions.