Kyrgios puts up brave fight against fourth seed