Cosmological hydrodynamical simulations of galaxy clusters: X-ray scaling relations and their evolution