About 35 years ago I used to scrape lead based and TBT antifouling off boat hulls. Masks were never considered and frequently bits of paint caught in eyes. All thoroughly unpleasant but, for the time being, I’m still alive. Sanding dust is finer although surface area of skirtings and picture rails isn’t a great deal.
If you feel you will be best served by getting a test done, to confirm or deny your concerns, then go get one.
Now paint manufacturers have had to remove all the useful bits from their coatings (which, I will add, is a good thing) modern antifoulings in particular are not anywhere near as effective as the lead filled chemical cocktails of old.