Representative Sara Jacobs, Democrat of California, said her experience planning for a future pregnancy inspired her to write a bill to expand coverage of fertility treatments.