Text this: Safety-Ensured Robotic Control Framework for Cutting Task Automation in Endoscopic Submucosal Dissection