Rectification by hydrodynamic flow in an encapsulated graphene Tesla valve