Femtosecond laser direct writing of an integrated path-encoded CNOT quantum gate