A proposal to convert a former medical centre in Leeds into flats has been withdrawn by the developer.