Text this: A half-discrete Hilbert-type inequality in the whole plane with the constant factor related to a cotangent function