My view is that the hair loss comes from the deficit and what you eat, not how fast the weight comes off. Dieting normally leaves you hungry, so you reach for filling stuff, protein, veg full of nutrients, which helps hair. On GLP1s you don't get that pull, so the deficit is there but plenty of people stop eating the good stuff, hence more shedding than with other diets. Bariatric patients are the same, they eat badly and lose hair.
Mine has actually improved since i began Mounjaro. i put that down to eating more, and better. Suppression never really hit me hard, which helped.
Whatever route you take, aim for enough food overall, with protein, iron, folate, selenium and vit E, plus healthy fats, as hair needs all of them. A blood panel would show if anything's low.
Getting a good cut could lift your mood too. Tell the hairdresser the thinning is upsetting you, they're wizards and will find a style and colour that makes it look fuller