Will an innertube for 700x35c-44c be ok for a bike that says it needs size 700x45c?
44c versus 45c is not enough to worry about.
You can use it.

Not that you would need to do this but after you have stretched it you should not try and put it in a 35c as it would be hard to do so without a fold in the tube.