The number of applicants for medicine courses has fallen to the lowest point since 2020, Ucas figures show.