Uniqueness of minimizers of weighted least gradient problems arising in hybrid inverse problems