There is only one clue, that I can think of, as to what Jesus may have discussed at the age of twelve. Matthew recounts the following conversation of the adult Jesus with Pharisees in Matthew 22:41-45 :
Saying, What think ye of Christ? whose son is he? They say unto him, The son of David.
He saith unto them, How then doth David in spirit call him Lord, saying The Lord said unto my Lord, Sit thou on my right hand, till I make thine enemies thy footstool?
If David then call him Lord, how is he his son?
It is just possible that the boy Jesus had asked the same questions as he sat in the temple, amazing the learned doctors of the law.