Artificial intelligence for optimizing medical laser procedure parameters: a data pipeline, performance metrics, and safety-first framework | Synapse