Keely Hodgkinson was in tears after pulling out of the 400m final at the UK Athletics Championships moments before the race began.