Woman 'woke to find taxi driver raping her', court told