ExoPredicator: Learning Abstract Models of Dynamic Worlds for Robot Planning