Repeated hospitalizations of US Supreme Court justice thrust her into presidential race, with makeup of bench on the line