Not true. Take the line with the double origin, and map it to the real line as the identity and send the second origin also to 0. The map is continuous and the reals are Hausdorff.

It is true however if you swap the spaces around i.e. f cts and X_2 not Hausdorff implies that X_1 is not Hausdorff.