Signal and noise characteristics of a terahertz frequency-selective YBa2Cu3O7−x Josephson detector