Dataview had been able to return tasks within callouts, but it doesn’t seem to be doing so now.
Tasks within callouts are returned in Obsidian 1.4.14
I have only tested the latest version, Obsidian 1.6.3 - which doesn’t work. i.e. I don’t know which version it stopped returning