Place zucchini, shallots, poblano peppers, and carrots in a multi-cooker (such as Instant Pot(R)). Add cumin, salt, chili powder, oregano, and cayenne pepper; stir well to combine. Add oil. Turn on cooker and select Saute function. Cook and stir until just slightly softened, about 5 minutes. Pour in tomatoes. Nestle chicken thighs into the mixture. Add stock and bay leaves. Close and lock the lid. Select high pressure according to manufacturer's instructions; set timer for 15 minutes. Allow 10 to 15 minutes for pressure to build. Release pressure using the natural-release method according to manufacturer's instructions, 10 to 40 minutes. Unlock and remove lid. Transfer chicken thighs to a plate and remove skin, bones, and any cartilage. Shred into bite-sized pieces. Add shredded chicken back to the pot. Stir in black beans and lime juice.