In grammatical terms, one can avoid the need to repeat he/she or his/hers structures by using the plural they/their, despite the fact that 'another' here is strictly singular.
Thus, "No matter how wrongful it may seem to you, another's heart is theirs to do with as they wish or as they find they can." Alternatively, you could make it all plural by writing, "No matter how wrongful it may seem to you, others' hearts are..."
Technically, words such as anyone, everybody, nobody and one etc are singular, so some claim they should not be followed by plural forms such as they, them and their. However, this �rule' has been consistently flouted for centuries by quality writers using such phrases as "Nobody in their senses would..." rather than "Nobody in his senses would..." or - even worse - "Nobody in his or her senses would..."
This is because the idea of plurality is actually contained in these indefinite pronouns. It also gets around the problem that there is no genderless way of referring simply to both male and female persons in such structures. If we did not use "their", we would be obliged constantly to say "his or her", which is clumsy. These pluralised forms are here to stay and regarded as perfectly acceptable now.