An inner-city teenager breaking class boundaries in racing was cheered on by the Queen on his first day as a jockey.