Journal 2. Because if you are asked to show the impact factors of the journal you have published in, you can quote the journal's ISI impact factor. In practice, people are more interested in whether you have published in a journal which has an impact factor than whose impact factor it was.
Also, if Journal 2 does not accept your paper, you can always send a revised version later to Journal 1.