Functional graphs of rational maps induced by endomorphisms of ordinary elliptic curves over finite fields