If the brakes are ok when it’s cool the linkage is good. It sounds like you’ve still got air in the system or it’s leaking in during the track session.
Gif
FAA certified jet engine and aircraft technician,
Nicholson Speedway class champion 2001,
Yamaha KT100 Service Center,
41 years karting experience