James Webb Space Telescope detects outgassing water from main-belt comet