Lead developer quits bitcoin saying it ‘has failed’