Finely dice the onion, peel and slice the carrots into ¼-inch rounds, thinly slice the celery, and mince the garlic. Zest 1 lemon, juice both lemons (about ¼ cup), and chop the parsley. Pat the chicken thighs dry and trim any large pieces of fat.
Melt the butter in a 5 to 6-quart Dutch oven over medium heat. Add the onion, carrots, and celery and cook for 8 to 10 minutes until the onion is translucent and the carrots are slightly softened, then stir in the garlic and Italian seasoning for 1 minute until fragrant.
Pour in the broth and scrape up any stuck bits, then add the bay leaf, salt, and pepper. Nestle the chicken thighs in a single layer, bring to a boil, then reduce to medium-low, partially cover, and simmer for 18 to 20 minutes until the chicken reaches 165°F (74°C).
Use tongs to move the chicken to a clean cutting board and let it cool for 2 to 3 minutes. Shred the meat with two forks into bite-sized pieces and cover loosely to keep warm.
Turn the heat back up to medium so the broth holds a steady, gentle simmer. Stir in the orzo and cook for 8 to 10 minutes, stirring often to keep it from sticking, until tender with a slight chew.
Fish out and discard the bay leaf, then return the shredded chicken and stir in the baby spinach for 1 to 2 minutes until wilted. Take the pot off the heat, wait about 30 seconds, then stir in the lemon zest, lemon juice, and parsley and season to taste.
Let the soup rest for 3 to 5 minutes, then ladle into warm bowls (about 1½ cups each). Top with about 1 tablespoon of grated Parmesan if using and serve with a lemon wedge on the side.