Synchronize two redstone pulse inputs
Try the circuit given below (attach to the output of the XOR gate). You can adjust the delay using the repeater connected to the sticky piston. The component behind the moving block is a comparator. It worked for me on 1.14.4
Without the other repeater, a pulse would leak out when the piston is pulling back the block.