Let us make two-dimensional view of the situation. Because of symmetry we can say the force on wire 2 (λ2) will be along the negative y-direction.
dF=Exdqcosθ
F=∫dF=∫λ12πε0√a2+x2(λ2dx)cosθ
where cosθ=a√a2+x2
F=λ1λ22πε0a∫∞−∞dxa2+x2=λ1λ2a2πε0×1a[tan−1xa]
F=λ1λ22πε0.
It is independent of a.