The Tory leader will deliver a speech setting out her foreign policy views, which confirms she could back quitting the hated EU court.