Signature of the chiral anomaly in ballistic Weyl junctions