Photo captures moment before man dies on NY subway track