SEAGLE - I: A pipeline for simulating and modelling strong lenses from cosmological hydrodynamic simulations