A joint venture has opened a new 40-unit luxury apartment building in downtown Montclair, one that’s adjacent to an upscale hotel that the partnership unveiled in 2019.