Time-optimized quantum gates on linear three-qubit systems with indirect Ising coupling