Arithmetic Topological Field Theory and Relative Langlands Duality