WASHINGTON—A deal between House and Senate negotiators on annual legislation setting Pentagon policy won’t include language sought by the Obama administration and Senate Democrats allowing for the closure of the federal prison at Guantanamo Bay, Cuba, a top Senate Democrat said.