First detection of gas-phase ammonia in a planet-forming disk