Cohomology of character stacks via TQFTs | Synapse