$p$-Adic interpolation of orbits under rational maps