Despite rising concerns about plunging births, a court in Beijing turned down Teresa Xu’s request in a landmark ruling.