Luton moved up to fourth in the EFL Championship after a late Elijah Adebayo header gave them all three points against Cardiff.