Teacher gives student his shoes at graduation after teen was turned away for wearing wrong ones