London-based investment fund Sustainable Development Capital LLP (SDCL) has lost a legal challenge over the privatisation of the UK's Green Investment Bank (GIB).