Online travel company will take an investment of $1.2bn from Apollo Global Management and Silver Lake