[Request] Port to SQLAlchemy 2.0

SQLAlchemy 2.0 has matured for a while now, so we should be able to start porting over to it.

I don't know how to do this or even test it, so I need help to get this going.

Migration Guide: https://docs.sqlalchemy.org/en/20/changelog/migration_20.html