A bipartisan effort to allow proxy voting for new parents in Congress survived an attempt by Speaker Mike Johnson to kill it.