Text this: Optimization-Based Energy Management for Multi-energy Maritime Grids