FTP and weight loss are not linked.
Weight loss often causes poor fueling which manifests in what appears to be a stagnant (or negatively trending) FTP.
My own personal experience is that with the exception of sprint watts, my power numbers have gone up at pretty much all durations from 60s-6hours even though I’ve lost 60 pounds over the past 5 years.