A two-year-old boy is fighting for his life after he was pulled from the water of a leisure centre.