Tom Hanks has some beautiful life advice for anyone with divorced parents