A science adviser for ‘Avengers: Endgame’ describes the real physics of time travel and multiple universes that underpin the movie