Wheelchair with detachable rear wheels