A community opera involving hundreds of children written by "Billy Elliot" playwright Lee Hall has collapsed after he refused a request to remove words spoken by a gay character.