The first drug designed to treat a woman’s low sex drive has received approval from the government.