[Fixes#78204538]

For Trips Details report: don't parse geometry and cache result of
get_legs.
For Trips report: add includes to query.