Tuning Thiol-Functionalized Nanosized Metal–Organic Frameworks for Applications in Ophthalmic Drug Delivery