Journalists and lawyers who visited Wikileaks founder Julian Assange while he was holed up at Ecuador's embassy in London have lost a lawsuit over spy claims.