Set in the northern city of Recife in 1977, “The Secret Agent” explores themes such as the loss of personal and collective memory.