Two federal courts sided with the Otis Elevator Co., dismissing suits brought by separate hotel guests who sought to hold the company liable for their injuries when the lifts malfunctioned.