Yes. If you replaced the word "one" with "a", it would read "Two hearts wishing on a star". This shows that both of the hearts are wishing on the same star. If you wanted to say they were both wishing, but on different stars, you would say, "Two hearts wishing on two different stars." or "Two hearts, each wishing on a different star." Hope that helps!