The state will invest up to $20 million and partner in a planned 120,000-square-foot facility in Jersey City that will serve as a hub for life sciences, health care and technology adjacent to the acclaimed Liberty Science Center, officials said Thursday.