Holography in flat spacetime: 4D theories and electromagnetic duality on the border