Find a section with 2 or 3 bars with good transients.
Snap off, move the item so that the first transient aligns with any beat.
Snap on, create a selection starting at the first transient.
Snap off, adjust the end of the selection to beginning of a bar. Make sure you cover 2 or 3 bars and all the beats in them.
Menu > Insert > Measure from time selection (new time signature)…
[Edit Time Signature] Set bars, OK.
This will create a tempo marker with the correct tempo. Double click it and copy the tempo.
Double click the very first tempo marker and set its tempo. The media item will move.
Alt + click to remove the other two tempo markers.
Realign the media item. Make sure aligns with a bar and has the lead in bar as you want it.