Bahrain court upholds life sentence for Shia leader